# makefile 文件
CCFLAGS = ${CFLAG}
CCFLAGS += -Wall

CC = gcc
CXX = g++

target ?= a.out
SRCS = $(shell find . -iname *.cpp)

all:
	@echo "build >>> target=$(target)"
	$(CXX) $(SRCS) ${CCFLAGS} -o $(target)


.PHONY: clean
clean:
	rm -rf $(target)
